class Event < ActiveRecord::Base
  attr_accessible :date, :name

  belongs_to :user

  validates :date, :name, presence: true
end
